﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JXC.Core.Models
{
    /// <summary>
    /// 审核记录表
    /// </summary>
    public class AuditLogging
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        public Guid Id { get; set; }
        //public string AuditFileName { get; set; }
        [ForeignKey("UserInfosId")]
        public Guid UserInfosId { get; set; } //审批人

        public Guid WenJianId { get; set; }//审批文件
        public string? Idea { get; set; } //意见
        public int Reorder { get; set; }//顺序 几级审批
        public int AuditStatus { get; set; }//审核状态 1：通过  2：驳回  0：审核中
        
        public DateTime CreateTime { get; set; }//创建时间
        public UserInfos UserInfos { get; set; }

    }
}
